add comment functionality