a little instrumentation