       """
 
     serialiseColor: (color) ->
-      c = new paper.Color(color)
+      c = new Paper.Color(color)
       "#{c.red*255},#{c.green*255},#{c.blue*255}"
   
   

define [
  'models/node_shape'
], (NodeShape) ->

  class EugeniaNotation 
    reconstruct: (item) ->

  
    deserialiseColor: (color) ->
      [all,r,g,b] = color.match("(\\d+),(\\d+),(\\d+)")
      new Paper.Color(r/255, g/255, b/255).toCSS()
    
    deserialiseName: (definition) ->
      class_pattern = /class\s+(\w*)/
