Work on events for devices