helper generator