add get match detail func