by_id method added for easier implementation of decks