updated sets, USE and mask.