params for generators
Merge pull request #2 from ozelen/fix_generator

Fix generator