You forgot to remove two console.log in this function.