refactoring parameters/filters for advanced search