remove unused functions from utils.py, pep8
make tests run