working on the search term if statements.