fixed console.log msg on snippet 10