Played around with formatting of code.