comments added, typos fixed