Uses magic to turn for loop into one-liner