cardAtIndex, choseCardAtIndex refactoring