implement network for events