minor formatting and comments.