correcting some typos so exampel now works