further simplified the piechart