add subdevice creation example