implementation of search terms