modified summerize class