change the name of commandStack to undoStack