added validation subprogram to network processing thread