assign the delegate