#673 added some console logging