Rephrased some of the text and corrected errors