mod to index
try to merge