make sure glOSpectrum enter the for loop everytime