refactored torrent review code