removed debug console.log messages