adding nested parallelism