cleaning up code of pep8 violations