my engine spins with do. and at this point, the rest of the code is not executed or is unpredictable.