adding pyx