typos
typo and correction for missing function