defect classification