cosmetic pep8 refactoring