removed the for loop