analysis and redo