parsing device data