removed extranious console.log calls