use correct sample values for ratings