added generation if not present