code rewind works beautifully