network io, distribution function, some other things