changed typos in code