add search and comments functionality