[WIP] simplify networking