Added the generator