add remap procedure.