I think all the instances of quartile need to be replaced with decile?