UNSTABLE: finished adding to uistate global