refactoring and edge counts in net  #www
attributes in network #www