client-side tracing added