add comment function complete