added truth table screenshot