adding generator helpers