removed spurious console.log() statements.