add lots of instrumentation logging