updated global stuff