added resetSummary option