trying
finished code gen for calc