playing with generator