Question: Can someone explain to me why the following code prints out nothing?

```
class Deck(object):

    def __init__(self, deck):
        self.deck = getDeck(deck)

    def getDeck(deck):
        with open(deck, "rU") as csvfile:
            cardReader = csv.DictReader(csvfile, delimiter=',')
            newDeck = []
            for row in cardReader:
                for x in range(int(row['NumberOfCards'])):
                    newDeck.append(row)

            removedKeyDeck = []
            for x in range(len(newDeck)):
                r = dict(newDeck[x])
                del r['NumberOfCards']
                removedKeyDeck.append(r)
        return removedKeyDeck

playerDeck = Deck('deck1.csv')

print playerDeck

```

I'm trying to create a deck list from the `deck1.csv` file. I know that the `getDeck` function works, but that I'm not using `class` structure correctly. Can anyone help me on this?

Answer: 
Just create another layout. They're not special: just partial views like any other partial view, with the exception that they use `@RenderBody()` to include the content from the current view being rendered.

You can then either explicitly specify the layout in your view(s):

```
@{
    Layout = "~/Views/Shared/_AlternateLayout.cshtml";
}

```

Or you can add/edit a `_ViewStart.cshtml` file to the directory or directories containing views that should be rendered with the alternate layout. That file would just include the code above and nothing else.

Then you can customize it however you like.
The common way to do this is to have two separate CSS style sheets, and swap in one or the other based on whatever criteria determines which group the user is in.

This requires keeping all (or at least most) style declarations out of the markup -- no (minimal) use of the style attribute in your source HTML>