adds some console logs