more advanced tracing