add search function and start adding comment function