Adding in localization