replaced Emit method