better explanation
removed debug code, flake8