working on cython oscillator