add some network function