`if (x.rating > 2.5)` will always be false, better ` > 0` since we have already done `x.ratings - 2.5`