added an oscillator