Adding Oscillator pattern