Delegate example.