fixed up reporting mechanism to allow use by other analyses.