Declare the search term outside of the stream call