now the code conforms to flake8.