added preliminary code for progress pie chart