mapConfig makes global variable