         for occurence in occurences
             @addAlarmCounter alarm, occurence
 
+
+    # setup a timeout to call handleNotification at
+    # triggerDate
     addAlarmCounter: (alarm, triggerDate) ->
 
         now = new tDate()

            @timeouts[alarm._id] ?= []
            @timeouts[alarm._id].push setTimeout (=> @handleNotification alarm) , delta

    handleNotification = (alarm) =>

        if alarm.action in ['DISPLAY', 'BOTH']

            when "alarm.delete"
                @clearTimeouts id

    # find all notifications for a DS's alarm object
    # and call addAlarmCounter for each one
    addAlarmCounters: (alarm) ->
        @clearTimeouts alarm._id
        now = new tDate()
