add addtorrent method