cleaned up summarizer