Added onEventListener, getDeviceID