Pre working in tracing