add piechart data, and wrote some more