corrected logic operands