updated basic formatting of code