Fixed formatting of code #6 #7 #10