Changed indenting to make it easier to read.