make inline matching work