tracing with shallow embedding