minor refactor summarize results