fix david's pointer bug, and use newclient for now, leave newloggingstorage for now