added truth table operations