changes for 16 bit data device