working undo unil turn