some syntax and spacing formatting tweaks