added localization feature