formatting changes to conform with flake8