added openmp version