formatted code pep8 compliant