Function comments

Its always a good idea to provide your functions with some comments.