setting up infra for parallel processing