Counter is also working fine