add functions without importing

hack for including functions without imports and pep8 fixes