undoredo examples half working