some openmp code added