Parallel validation works now, still need to clean up the code