rename i to mapping