build_detect