reformatting and commenting.
reformat.