Added search engine functionality