create new device and add element