Added first bits of reference ID system