type doc, compare and blend functions