restyled summary section
cleaned up summary generating code