sloppy logic for star rating