add function example.