add comment for c code