Added function to get boxplot