setup mapping of registration