added initial counter
added initial counter