main view localization