using different generator