validation of rating 1..5 works