Parallel version updated
working on parallel version