corrected formatting and typos