ran flake8 to correct some pep8 errors