localized generation