DETECTING SET,MINE