removed unnecessary localization function