updated the view negotiation example