Improve code snippet
Fix pep8