changes to xcuserstate