Changed formatting of code

Made sections of code clearer.