added some helpful tracing