     }
   }
   
-  func playMusic () {
+  func playMusic() {
     self.audioQueuePlayer.play()
+    self.currentSongIndex = 0
   }
   
-  func createSongs () -> [AnyObject] {
+  func createSongs() -> [AnyObject] {
     let solitude = NSBundle.mainBundle().pathForResource("CLASSICAL SOLITUDE", ofType: "wav")
     let doldesh = NSBundle.mainBundle().pathForResource("Timothy Pinkham - The Knolls of Doldesh", ofType: "mp3")
     let signal = NSBundle.mainBundle().pathForResource("Open Source - Sending My Signal", ofType: "mp3")

  }

  @IBAction func playPreviousButtonPressed(sender: UIButton) {
  }
  
  @IBAction func playNextButtonPressed(sender: UIButton) {
    self.audioQueuePlayer.advanceToNextItem()
  }
  
  //MARK: AVFoundation
  func configureAudioSession () {
    var categoryError:NSError?
    var activeError: NSError?


    }
  }
  
  func configureAudioQueuePlayer() {
    let songs = createSongs()
    self.audioQueuePlayer = AVQueuePlayer(items: songs)
    for var songIndex = 0; songIndex < songs.count; songIndex++ {
