add phase to oscillator