added first tries for undo redo