   processDeclaration: ->
     @declarationPart = @transformCssObjectsToJSON(@declarationPart, {replace: true,})
     # process declaration part
-    declarationPart = for line, i in @declarationPart.split('\n')      
+    declarationPart = for line, i in @declarationPart.split('\n') 
+      line = @renameHyphenFunctionName(line)     
       unless /(\'.*\')|(\".*\")/.test(line)
         # escape color values like @color = #fff or rgba(0,0,0,0.5)
         line = line.replace(@pattern.cssColorValues(), " '$1' ")
         # line = line.replace(/\s(rgb[a]*\([\s0-9\.\,]+\))/g, " '$1' ")
+      @renameHyphenFunctionName(line)
       # catch all unspecific value
       if @pattern.isInlineOperation.test(line)
         parts = line.match(/^(\s*)(.*?\=\s*)(.*)$/,line)

    levelBefore = null
    selectorBefore = ''

    _objectToCSS = (o) ->
      parts = for attribute of o
        # we only escape on content attribute, or are there maybe more?
        escape = if attribute is 'content' then "'" else ''
        "#{attribute}: #{escape}#{o[attribute]}#{escape};"
      if parts.length > 0 then '{ '+parts.join('\n')+' }' else null

    mediaQuery = null

    for section in @evaluated?._levels
      if section[0] is '@media'
        cssString += ' } ' if mediaQuery
        cssString += "\n@media #{section[1]} {"
        mediaQuery = section[1]
      else

        selector         = selectorString = section[0]
        level            = Math.floor section[1].length / 2
        values           = _objectToCSS(section[2])
        isReference      = selectorString[0] is '&'

        if section.length > 2

    isLineAttribute: /^(\s+)([a-zA-Z\-]+)(\:|\s){1}/
    comments: -> /(#\s.*|\/\/.*)?\n/g
    isMediaQuery: /^(\@media)\s+(.*)$/
    isCSSQuery: /^(@media|@font\_face|@charset|@document|@namespace|@supports|@page)\s+(.*)$/
    isCSSValue: /^([0-9\.]+(in|cm|mm|em|ex|pt|pc|px|s|\%))$/
    hasOperator: -> /\s[\+\-\/\*\%]{1}\s/g
    isNotParsableValue: /^([0-9]+(\.[0-9])*|\@*[a-zA-Z\_]+)$/ 
    doesLineBeginWithAttribute: null
    processPartsSeperator: /\n@begin\n/
    hasHyphenFunctionName: /(\s*)(@[a-z\_]+[a-z\_\-]+)/g
    argumentIsString: /^\s*((\'.*\')|(\".*\"))\s*$/
    cssColorValues: ->
      #return /\s(\#[a-z0-9]{3,6})\s*/g
