removed console.log and commented out code