adding a trace