Corrected some typos and misplaced commas