added plots, restructured analysis