added instance identifier to globals