took out for loop