Added Parallel for with minimum code and changes