generation check.