make each host a event emitter