aesthetic changes

to the code to make it easier to read.