got basic oscillator working