adding event tree