Added function example.