Adding frequency control with oscillator