automated whitespace & formatting tidy up