Handle the delegate