second work on the detection of the tags