modified showType