corrected some typos and other small changes