Changed the formatting of the code