describe thread safety of 'map'