added open mp directives