rework the netusage stuff i didn't originally write