added freq and emit