started work on generating code from IR