working detections
silencing cython compile warnings