Wrote search view