changed multiple search arguments to one single hash