         return alarms[index].mediaID
     }
     
+    func setLabel(label: String, AtIndex index: Int)
+    {
+        alarms[index].label = label
+    }
+    
+    func setDate(date: NSDate, AtIndex index: Int)
+    {
+        alarms[index].date = date
+    }
+    
+    func setTimeStr(timeStr: String, AtIndex index: Int)
+    {
+        alarms[index].timeStr = timeStr
+    }
+    
+    func setMediaID(mediaID: String, AtIndex index: Int)
+    {
+        alarms[index].mediaID = mediaID
+    }
+    
     //SequenceType Protocol
     private var currentIndex = 0
     func generate() -> GeneratorOf<Alarm> {

import Foundation
import MediaPlayer

class Alarm
{
    //using memberwise initializer for struct
    var title: String
    var timeStr: String
    var date: NSDate
    var enabled: Bool
    var UUID: String
    var mediaID: String
    
    init(title: String, timeStr: String, date: NSDate, enabled: Bool,UUID: String, mediaID: String)
    {
        self.title = title
        self.timeStr = timeStr


    }
    //helpers for alarm edit. maybe not a good design
    func labelAtIndex(index: Int) -> String
    {
        return alarms[index].label
    }
    
    func timeStrAtIndex(index: Int) -> String
