 
           @createCache overview2d, =>
             @emit "CachingFinished"
-            log "caching finished"
+            log "caching finished.\n"
 
 
   @createCacheFromEarliestTo = (eternity)->

        if err
          console.warn err
          @emit "CachingFinished"
        else

          # printOverview overview

              overviewIndexToDelete = i
              break

          updateTo   = if overviewIndexToDelete is cache.overview.length-1 then yes else no
          updateFrom = if overviewIndexToDelete is 0 then yes else no

          unsetModifier      = {}
          setModifier        = {}
          setModifier.isFull = no
          unsetModifier["activities.#{idToDelete}"] = 1
          unsetModifier["overview.#{overviewIndexToDelete}"] = 1

          if Object.keys(cache.activities).length > 1
            if updateTo
              newLastIndex   = overviewIndexToDelete - 1
              setModifier.to = cache.overview[newLastIndex].createdAt[cache.overview[newLastIndex].createdAt.length-1]

            if updateFrom
              newFirstIndex    = overviewIndexToDelete + 1
              setModifier.from = cache.overview[newFirstIndex].createdAt[0]

          cache.update
            $unset : unsetModifier
            $set   : isFull : no
          , ->
            log "activity removed from cache!", Object.keys(cache.activities).length
            if Object.keys(cache.activities).length is 0
              cache.remove ->
                log "cache instance removed!"



  printOverview = (overview)->
