added parallelism and concurrency