for loop

added second loop for scaler