 
     datastr = JSON.stringify(data)
     @mergenData.rpush channel, datastr, ()=>
-      #console.log "pushed to ", @getChannelNameForGenericName(), datastr
+      console.log "pushed to ", channel, datastr
       @sendCommand channel, "kite.consume", datastr
 
   sendCommand: (channel, cmd, args, cb=false)->

    # we have to wait for all before we emit ready
    @mergen.on "subscribe", (channel, count)->
      subscribeToChannelNames = _.without(subscribeToChannelNames, channel)
      #console.log ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> connected to channel", channel, subscribeToChannelNames
      
    # we have a second connection because, redis client in node doesnt send any commands
    # when it enters subscribe mode, though redis docs says you can publish if you are in subcribe

    "#{@publicKey}-kite-#{gn}-#{kn}"

  getChannelNameForGenericName:(genericName)->
    if genericName
      genericName = "kite-#{genericName}"
    "#{@publicKey}-kite-#{genericName or @serviceGenericName}"

  getChannelNameForAll:()->
