a counter for the program, and shit