typo in typeTete function