updating GenerationLayer class

updating comments