removed debug console.log statment