started implementing application opcodes