initial cython interface