added trace feature to stats page