without the for loop