Nicely done decrementing it each time to 0. There are other ways to implement the same iterative loop, but this way works great.