working on compiler for IR
reorg