problem 7
adjustments to pep8