Removed spurious console.logs