NJC adding some logging