own files for generator class