Now is stable, it is downloading and uploading fine. I added a column to the table called Download Rate which may help us to work on the last assignment. Peer has now a public method, which should be syncrhonized called getDownloadRate(). This method could be used by a separate thread, to spool and decide who to chocke and who not to choke. Bittorrent is busy with the download algorithm, which is a blocking call of course, so the chocking algo will have to be the mentioned separate thread