added some to oscillator