preparation for the creation of search queries