add alternative card matching methods[branches]
add tests for id matching methods