adding feature to search by query