Cleaned up the pie chart bean stuff