removed the dependency of registration on dms