add python-function