added trace listener