removing unused debug via console.log