one less for loop