Removed spurious console.log calls