removed commented code, and extra console.log