Adding summarize method