add search query for each type