Scratch the cat should be doing a somersault forward, waiting 1 second, then doing a somersault backwards, waiting 1 second. This whole pattern should repeat over and over again. The problem is Scratch does not wait 1 second after he gets back to the starting positions.