corrected typos and formatting