Faster with for loop