added search query builder