added an alternative function to boxplot