added function to get event name by event number