changed to openMp