finished the comment function