counter program without documentation