a simple counter app to test some concepts