lot of summary changes and plotting