Removed console.log since we now know what the issue is, roughly.