changed searchTerm to searchTerms in get