adding openmp directives