minor changes and spellchecking