changed donut into piechart