implement search functions
implement search view