map not evalued, using for loop