add event recorder to record all events