update functions.py
remove unused imports