Code Generating function can now add an actual function

opku working