     
     @inPorts =
       tick: new noflo.Port 'bang'
-      every: new noflo.Port 'boolean'
+      drawevery: 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 @every
        @parse @commands


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



        loglevel: 'error'
        message: 'Received commands but there is not 2d context attached.'

    @inPorts.drawevery.on 'data', (data) =>
      @drawevery = data

    @inPorts.clearevery.on 'data', (data) =>
      @clearevery = data
