Added summarize method