Getting summary. Needs LOTS of refinement