add device/segment