Horrible solution to map.