add extra type information