piechart modified