documentation for remap