added some draft code for cobbler and pie charts