typos fixed in examples