What is my increment code missing?

But then I should move
Code: [Select]

int buttonNumber = 0;

under void setup() and instead of int use global int? Don't know how to type it though..

Just move the statement, with NO changes.