Detection final version