use same variable name for map array, just change the type