updated globals