Mod: use map to store data