it works fine, very similiar to the parallel version