bw.emit doesn't exist anymore