keeping track of regenerations