starting to make are real nuclear generation function, the intergration still isn't quite working.