some pep8 and unused imports.