working on the registration file