added getEvent usage example