debugging emitter, setting up to test