This was very confusing to me. If you do the decrement on the previous line I think it might be clearer.