fixed a few typos and did some reformatting