added event_emitter example