adding methods for search