Completed Class GenerationLayer