added summarize option