replaced inline deck to DeckParser