initial counter to 0