made a ring counter