change to typeSummary()