                 notes: if newEvent.notes? then newEvent.notes else null
             @events.push obj
             @addEventsToCalendar @events[obj.id]
-
-        addCalendarEvent: (events, dates) =>
-            calendarInner = @calendar.find "div.#{@calendarInnerClass}"
-
-            if @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.#{@eventClass}"
-            length = eventList.length
-
-            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 length is 0
-                eventList = $ '<ul></ul>',
-                    class: @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 @classes.holiday
 
         removeCalendarEvent: (eventId, index) =>
             events = @calendar.find "ul.#{@eventClass} a[data-event=#{eventId}]"

                i = i + 1
            weekInfo

        createEvent: (newEvent) =>
            id = @events.length
            obj =

            if eventDates.length > 0
                $.each eventDates, (key, date) ->
                    # add css classes here
                    _addCalendarEvent events, date

        advanceDate: (direction) =>
            calendarInner = @calendar.find "div.#{@calendarInnerClass}"
