basic parallelization infrastructure