simplify localization