added the call to record the registration