WIP: creating simple generator.

#1, #3