version 4

add the function of addComment.