partial work for boxplots