add network related apis