Modified loop example to be 99% predictable