Add an example for functions