adding pie chart