removed extra console.logs