reformatted a bunch of things quickly to make it more readable.