added capability to show totals by period