removed some debug console.logs