need a better strategy for localization