replace map with String() method