Woohoo fn function works and generates desired output
Now funcs always return last Expr + Ive tested a bit of generated code: and it works