first draft of local oscillator