adding structure for pie chasrt