added some intruction parsing, not tested