first working retrieval of registrationId