add some console logs