helper summarize method