made emitRaw public