added network search function.