Added functionality to create decks