Added the parallel code because it didn't get added before