why not using the handle.emit function here as well?