added some search functions