creating map index