refactor pep-8