Changed layout

Changed to layout so that the statements are not all on the same line.