add support for `type` display mode