pie chart and little improvements