Predict what will go wrong, then run the instructions one at a time. Rearrange the instructions to fix the result.