treating exception and more docs