minor changes to formating and typo fixes