passing the search params around