updated for localization tracking