chained with python for the localization