Role and accuracy of rating agencies