Refactor for easier summary trending analysis.

Need to fix a line in there that goes through result.title