renamed the generator block