added example of non undoable operations
error fixes