added add comment functionality