typo "function"
various typo's and miss spellings