Parallel version that works