add card to arraylist