Changed map<string, int> to map<int, string>