modified search functions