new afnetwork lib