repeat of variable take outside, also is -fopenmp