some updates to globals