this works for reading in data from pi via usb