updated TypeFormatter