# Common routines used in net samples