added truth table