fix typos and incorporate George's suggestions