Removed extra console.log() commands