add class of trace