Fixing the parallel version to work as well.