example of and gate - Search