   override func viewDidLoad() {
     super.viewDidLoad()
     if let page = page {
-      print(page.story.text)
+      artwork.image = page.story.artwork
+      let attributedString = NSMutableAttributedString(string: page.story.text)
+      
+      let paragraphStyle = NSMutableParagraphStyle()
+      paragraphStyle.lineSpacing = 10
+      
+      attributedString.addAttribute(NSParagraphStyleAttributeName, value: paragraphStyle, range: NSMakeRange(0, attributedString.length))
+      
+      storyLabel.attributedText = attributedString
+      
+      if let firstChoice = page.firstChoice {
+        firstChoiceButton.setTitle(firstChoice.title, for: .normal)
+      } else {
+        firstChoiceButton.setTitle("Play Again", for: .normal)
+      }
+      
+      if let secondChoice = page.secondChoice {
+        secondChoiceButton.setTitle(secondChoice.title, for: .normal)
+      }
     }
-    
-    // Do any additional setup after loading the view.
-    view.backgroundColor = .blue
   }
   
   override func didReceiveMemoryWarning() {

class PageController: UIViewController {
  
  var page: Page?
  
  required init?(coder aDecoder: NSCoder) {
    /*

    // Dispose of any resources that can be recreated.
  }
  
  override func viewWillLayoutSubviews() {
    view.addSubview(artwork)
    // this is so that we don't inherit the contsraints from the main view
    artwork.translatesAutoresizingMaskIntoConstraints = false
    
    NSLayoutConstraint.activate([
      artwork.topAnchor.constraint(equalTo: view.topAnchor),
      artwork.bottomAnchor.constraint(equalTo: view.bottomAnchor),
      artwork.rightAnchor.constraint(equalTo: view.rightAnchor),
      artwork.leftAnchor.constraint(equalTo: view.leftAnchor)
    ])
    
    view.addSubview(storyLabel)
    storyLabel.translatesAutoresizingMaskIntoConstraints = false
    storyLabel.numberOfLines = 0
    
    NSLayoutConstraint.activate([
      storyLabel.leadingAnchor.constraint(equalTo: view.leadingAnchor, constant: 16.0),
      storyLabel.trailingAnchor.constraint(equalTo: view.trailingAnchor, constant: -16.0),
      storyLabel.topAnchor.constraint(equalTo: view.centerYAnchor, constant: -48.0)
    ])
    
    view.addSubview(firstChoiceButton)
    firstChoiceButton.translatesAutoresizingMaskIntoConstraints = false
    NSLayoutConstraint.activate([
      firstChoiceButton.centerXAnchor.constraint(equalTo: view.centerXAnchor),
      firstChoiceButton.bottomAnchor.constraint(equalTo: view.bottomAnchor, constant: -80.0)
    ])
    
    view.addSubview(secondChoiceButton)
    secondChoiceButton.translatesAutoresizingMaskIntoConstraints = false
    NSLayoutConstraint.activate([
      secondChoiceButton.centerXAnchor.constraint(equalTo: view.centerXAnchor),
      secondChoiceButton.bottomAnchor.constraint(equalTo: view.bottomAnchor, constant: -32.0)
    ])
  }
}
