started building executive summary function, plus a few bug fixes