updated subscriber to make the hub.callback param optional