add primitive type code