use of parallel loops