listen for events from arduino