generational counting scheme