set undolevels to a large value so that you can undo almost infinitely