Created the delegate protocol.