                 uid = obj.uid
                 client = clientList.get uid
                 #console.log client if client?
-                (client[action])() if client?
+                (client[action])(obj) if client?
                 console.log "ran command: #{action}"
             clientSocket.on 'disconnect', ->
                 clientList.remove clientSocket.sessionId

        super uid
    get: (uid) ->
        console.log "getting client with uid: #{uid}"
        ret = super uid
    getAll: ->
        console.log "getting all clients"
        ret = super()

clientList = new Clients



    sendAll: (data) ->
        clients = clientList.getAll()
        #console.log clients
        for uid of clients
            client = clientList.get uid
            socketController.send client.clientSocket, data
            #console.log "client: #{client.clientSocket}"



