templatize the summary (half baked)