typos in type functions