updated createMap() with switch statements instead of just typing everything out