added localization functions