combine 'match' and 'data' events