comments. padding. headings. cleaned some code