working on compiler, mapping, addvar