finished typoe mapping