created 10 threads to solve the issue of performance.