more complicated version of hello world with a counter button