train using Map.Map data constructor