handles quantile scales