added plots and corrected some typos