added example of how to pass in search parameters