Just a quick re-format of the code. Standerdised 2 Space Indent ect...