implementing partial register tracing