pass match to custom handler