better documentation and pdf slide implementation