delete class match define