Added pie chart and saving values