Added simple search term function