fixed typos and bad writing