added pie chart (with some strange refresh bug)