add comments for log