triangle version for localization added