no py3 + some pep8