fixed formatting and typos