start to modify net.c