modified deck to use tuplues instead of dict