add comment about buf