Category 1: Functions for network construction