added sine wave oscillator