Add functions to check for generation count