just need device.data not just device.data.series