adding generator
Adding a generator