extende version for openMP