example with localization