code formatting tweaks