Added a few comments and fixed whitespace