Added sendToDevice()