Set up the emitter