added display network inforamtion function