tripAdvisor code revised