added type name for failure type