removed unused network code