selectDeck now accepts index