updated counter functions