revised searchPage