Why was this loop reversed to be decrementing? Is this done anywhere else?