registration is done