modularized! keep working on sub-networks tagging