added search parameters in code