refactor topics to decks