extraneous console.logs only show if in debug mode