different types of gates - Search