logic gates in real life - Search