a fork of OPCODE 1.3.2