illustrates the use of a delegate 2