used criteria for search functions