Removed the console.log testing functonality.