delete class with subject added