added harmonic oscilators + threads