added last task to generators and new for classes