correct code for search view ln 233