adding table display to search