Working about generators