refactoring, new network type added