making flake8 happy
removing unused imports
removing unused and shouldn't be working function