reversed for loop (more stable)