reformatted the code to be consistent (white-space)