             _addWeeklyEvents events, eventDates
         else if events.recurrance is 'daily'
             _addDailyEvents events, eventDates
-        else if events.recurrance is 'none' and _eventMonth is month and _eventYear is parseInt(events.year, 10)                                         
+        else if events.recurrance is 'none' and eventMonth is month and eventYear is parseInt(events.year, 10)                                         
             _addOneTimeEvents events, eventDates
         if eventDates.length > 0
             $.each eventDates, (key, date) ->


    advanceYear: (direction) =>
        self = @
        calendarInner = @calendar.find "div.#{@calendarInnerClass}"
        newDate =
            month: calendarInner.data 'month'
            year: calendarInner.data 'year'

        newDate.date = if newDate.month is self.today.month then self.today.date else 1
        newDate.year = if direction is 'prev' then newDate.year - 1 else newDate.year + 1

            # create event html

            if self.view is 'month'
                _calendarItem = calendarInner.find ".drm-date[data-date=#{dates}]"
            else if !events.time?
                _calendarItem = calendarInner.find ".drm-date[data-date=#{dates}][data-hour='All Day Event']"
            else
                # find hour td element
                re = new RegExp '^0?','gi'
                re2 = new RegExp ':[0-9]{2}', 'gi'
                hour = events.time.replace re, ''
                hour = hour.replace re2, ''
                _calendarItem = calendarInner.find ".drm-date[data-date=#{dates}][data-hour=#{hour}]"

            _eventList = _calendarItem.find "ul.#{self.eventClass}"

            _eventContent = 
                if events.time?
                    "<span class='drm-time'>#{events.time}: </span><span class='drm-event'>#{events.name}</span>"
                else
                    "<span class='drm-event drm-all-day-event'>#{events.name}</span>"

            _eventHtml = $ '<a></a>',
                href: '#'
                'data-event': events.id
                html: _eventContent

            if _eventList.length is 0
                _eventList = $ '<ul></ul>',
                    class: "#{self.eventClass}"

                _eventList.appendTo _calendarItem
            
            _item = $ '<li></li>',
                html: _eventHtml
            
            _item.appendTo _eventList

            if events.type is 'holiday' then _eventList.find("a:contains(#{events.name})").addClass self.classes.holiday

        if events.recurrance is 'yearly' and eventMonth is month
            _addYearlyEvents events, eventDates
        else if events.recurrance is 'monthly'
            _addMonthlyEvents events, eventDates
