small changes and typos fixed