format -> type