Simple example of using a delegate method.