implemented add comment fucntion