replacing map with strings