add function comments