commit examples about functions