added omp code