removed extra console.log statements