Working on torrent functions.