rename from addKinds to regenerate