 detecting {HEAD ~ the presence} of {TAIL ~ said frame} at each corner thereof 
detecting { HEAD ~ the presence } of { TAIL ~ said frame } at each corner thereof
OTH OTH HEAD HEAD HEAD HEAD HEAD HEAD REL TAIL TAIL TAIL TAIL TAIL TAIL OTH OTH OTH OTH