add network init method