removed debug console.logs