added reset to Counter