some net test codes