Added pie chart functionality, Andrew and Kevin