Fix: added return value to the summarize method.