add trace in each class