remove for loop