tweaking code styles