Added whitespace and some comments.