example for Emitter, because I found it hard to add