change console.log()s to tj's debug