Updated comments

Updated function comments.