example of python function