Added DEVICE definition