Project No.2 in the Arduino Starter Project Book is right!

Hint already posted shows that this variable has different capitalization between declaration and use. A no-no in C, C++.