further work on cython