added search functions