add a delegate method