add simple harmonic oscillator