start of rating resource impl