in the midst of making modifications to allow for the deck to be an array