Deck structure

needs review