Formatting, added some comments.