replace cpdef w/ cdef