Commented out console.log statements, because they caused trouble.