allow a block to emit multiple types of events