need to use post-decrement form in for loops.