added second argument to the delegate callbacks