fixed some whitespace and added footer comments.