emitter in sparate class