Changed formatting of code

Made areas of code clearer.