added pie chart with errors