rewrite localization initialization section, add figure