added localization stuff