added a comment
more function comments