added piechart and view for score