updated code spacing/indenting