Added DeckRepository Functions