Begining of search functionality.