opcodes in array
refactoring