create funcs.py file