Replaced SENSE_MASTER_ID with SENSE_HEAD_ID