treat network as object