fixed a small bug
Finally implemented the whole extracting of network interactions