remove at least the last two console.log calls