adding example showing events to listen to