Detection final Version