Fix odd whitespace.
Update function name and add some helpful comments.
Reformat.