wip handle network events