rewriting of class NetworkAdj finished