- added new method for query based search