         loglevel: 'error'
         message: 'Received commands but there is not 2d context attached.'
 
-    @inPorts.every.on 'data', (data) =>
-      @every = data
+    @inPorts.drawevery.on 'data', (data) =>
+      @drawevery = data
 
     @inPorts.clearevery.on 'data', (data) =>
       @clearevery = data

    
    @inPorts =
      tick: new noflo.Port 'bang'
      every: new noflo.Port 'boolean'
      clearevery: new noflo.Port 'boolean'
      canvas: new noflo.Port 'object'
      commands: new noflo.ArrayPort 'object'

      
    @inPorts.commands.on 'data', (commands, i) =>
      @commands[i] = commands
      if @drawevery
        @parse @commands


    # @inPorts.commands.on 'detach', (i) =>
    #   @commands.splice i, 1
    #   if @drawevery
    #     @parse @commands


