use a debugging variable to turn off console.log printing