Summarization function, take 1.