added interface for Diag trace