everything seems to work except listing by the rating