Added Counter and reset