Making detect return success