to add structure DEVICEEVENT