added comments; flake8