added the leged for the map