added some opcode handling