set
loc
*ploc = mid;