minor code styling tweaks