When is the registration number assigned and how to check it?