added type code