updated tracer writing
updated tracer writing