typos fixed and minor stuff