adding document class