add search to view