Cleaned up the code a little bit to make it more readable. No output changes.