added trace messages