changes in function.py and README.md