base-summary function

Summary method