adding add comment functionality