rating system almost working