* network logic