Should be foreach and not map.