perhaps is better to have a single method for localization, and add there all the methods to keep it contained