got pie graphs working