for some reason, getting an invalid opcode