modify cardlist.contains