working on getting the generator to do the job