corrected typos and updated formatting