 
                     peerIds = @connectionsToPeerIds @connections
 
-                    console.log "connected peers: #{ peerIds }"
 
                     connection.on "open", =>
                         connectionsWithoutNewConnection = _.filter @connections, (c) -> c.peer != connection.peer
                         peerIdsWithoutNewConnection = @connectionsToPeerIds connectionsWithoutNewConnection
 
                         if peerIdsWithoutNewConnection.length
-                            console.log "sending connections to #{ connection.peer }"
 
                             connection.send type: "newConnection", peerIds: peerIdsWithoutNewConnection
 
             if who != "x"
-                console.log "acting as #{ who }, normal peer"
 
                 peer.on "connection", (connection) =>
 
-                    console.log "connection from #{ connection.peer }"
 
                     connection.on "open", =>
 
-                        console.log "connection from #{ connection.peer } open"
 
                         @connections.push connection
 
                         @listenForMessage connection
 
                 connection = peer.connect "x"
-                console.log "connecting to x, host"
 
                 connection.on "error", (error) =>
                     alert error
 
                 connection.on "open", =>
-                    console.log "connection to #{ connection.peer } open"
 
                     @connections.push connection
 


    componentWillMount: ->
        who = getSegments()[1]
        console.log "who: #{ who }"

        peer = new Peer who, key: PEER_KEY, debug: 2
        console.log "new Peer()"

        @connections = []


            alert error.type

        peer.on "open", (peerId) =>

            if who == "x"

                peer.on "connection", (connection) =>

                    @connections.push connection

