WiP: add some temporary logging