add simple localization + tests