add some tracing stuff