FIXME: add random numbers in parallel version