better charts documentations and refacto