fixed formatting and a few typos