adding piechart