Added comment explaining how res.negotiate() works